package com.ruoyi.cs.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName TBattleSpoils
 * @Description TODO
 * @Author zz
 * @Date 2024/2/25
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TBattleSpoils {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("对战房间ID")
    private String battleId;

    @ApiModelProperty("用户ID")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String userId;

    @ApiModelProperty("饰品ID")
    private Integer goodsId;

    @ApiModelProperty("饰品名称")
    private String goodsName;

    @ApiModelProperty("饰品图片")
    private String goodsPic;

    @ApiModelProperty("饰品市场价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("饰品兑换价格")
    private BigDecimal goodsExprice;

    @ApiModelProperty("饰品类别 0 普通、1 StatTrak、2 ★、3 ★StatTrak 4 金币")
    private String goodsType;

    @ApiModelProperty("饰品品级  0金  1红  2紫  3蓝")
    private String goodsGrate;

    @ApiModelProperty("饰品外观 0 崭新出厂、1 略有磨损、2 久经沙场、3 破损不堪、4 战痕累累 5 无涂装")
    private String goodsWear;

    @ApiModelProperty("品质")
    private String rarityName;

    @ApiModelProperty("背包ID")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String bbId;

    @ApiModelProperty(value = "roll值区间")
    private String rollValueRange;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("对应的背包ID")
    private String objectId;
}
